package org.kjk.board;

public class BoardDTO {
	public int serial;
	public String subject;
	public String content;
	public String writer;
	public String writtenDate;

	public BoardDTO() {
	}

	public BoardDTO(String subject, String content, String writer) {
		this.subject = subject;
		this.content = content;
		this.writer = writer;
	}

	public BoardDTO(int serial, String subject, String content, String writer) {
		this.serial = serial;
		this.subject = subject;
		this.content = content;
		this.writer = writer;
	}

	public BoardDTO(int serial, String subject, String content, String writer,
			String writtenDate) {
		this.serial = serial;
		this.subject = subject;
		this.content = content;
		this.writer = writer;
		this.writtenDate = writtenDate;
	}

	public int getSerial() {
		return serial;
	}

	public void setSerial(int serial) {
		this.serial = serial;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getWriter() {
		return writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getWrittenDate() {
		return writtenDate;
	}

	public void setWrittenDate(String writtenDate) {
		this.writtenDate = writtenDate;
	}

}
